package com.qingfeng.medical.biz.auth.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qingfeng.medical.biz.auth.dao.SysLoginLogMapper;
import com.qingfeng.medical.biz.auth.domain.entity.SysLoginLog;
import com.qingfeng.medical.biz.auth.domain.dto.SysLoginLogQueryDTO;
import com.qingfeng.medical.biz.auth.service.SysLoginLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 清风学Java
 * @version 1.0.0
 * @date 2023/4/5
 */
@Service
@SuppressWarnings({"unchecked", "rawtypes"})
public class SysLoginLogServiceImpl extends ServiceImpl<SysLoginLogMapper, SysLoginLog> implements SysLoginLogService {

    @Resource
    private SysLoginLogMapper sysLoginLogMapper;

    @Override
    public IPage<SysLoginLog> selectPage(Page<SysLoginLog> pageParam, SysLoginLogQueryDTO sysLoginLogQueryDTO) {
        return sysLoginLogMapper.selectPage(pageParam, sysLoginLogQueryDTO);
    }
}
